import autoImport from 'unplugin-auto-import/vite'
//vue3等插件 hooks 自动引入
export default function createAutoImport() {
  return autoImport({
    imports: ['vue', 'vue-router', 'pinia'],
    dts: true,
    dirs: ['src/hooks']
  })
}
